Optimal. Leaf size=40 \[ -\frac{\cos (e+f x) (a-a \sin (e+f x))^m (c+d \sin (e+f x))^{-m-1}}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.171891, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 51, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.02, Rules used = {2974} \[ -\frac{\cos (e+f x) (a-a \sin (e+f x))^m (c+d \sin (e+f x))^{-m-1}}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2974
Rubi steps
\begin{align*} \int (a-a \sin (e+f x))^m (c+d \sin (e+f x))^{-2-m} (d+(c+d) m+(c+(c+d) m) \sin (e+f x)) \, dx &=-\frac{\cos (e+f x) (a-a \sin (e+f x))^m (c+d \sin (e+f x))^{-1-m}}{f}\\ \end{align*}
Mathematica [A] time = 0.709647, size = 40, normalized size = 1. \[ -\frac{\cos (e+f x) (a-a \sin (e+f x))^m (c+d \sin (e+f x))^{-m-1}}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.566, size = 0, normalized size = 0. \begin{align*} \int \left ( a-a\sin \left ( fx+e \right ) \right ) ^{m} \left ( c+d\sin \left ( fx+e \right ) \right ) ^{-2-m} \left ( d+ \left ( c+d \right ) m+ \left ( c+ \left ( c+d \right ) m \right ) \sin \left ( fx+e \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.82909, size = 142, normalized size = 3.55 \begin{align*} -\frac{{\left (d \cos \left (f x + e\right ) \sin \left (f x + e\right ) + c \cos \left (f x + e\right )\right )}{\left (-a \sin \left (f x + e\right ) + a\right )}^{m}{\left (d \sin \left (f x + e\right ) + c\right )}^{-m - 2}}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: AttributeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]